﻿using SHZY.Common.Const;
using SHZY.Common.Contracts;
using SqlSugar;

namespace SHZY.Business.Entitys;

/// <summary>
/// 缺陷记录实体.
/// </summary>
[SugarTable("qms_busi_inspectionitemdefect", "缺陷记录")]
[Tenant(ClaimConst.TENANTID)]
public class QmsBusiInspectionitemdefectEntity : CLDEntityBase
{

    /// <summary>
    /// 检验项目GUID.
    /// </summary>
    [SugarColumn(ColumnName = "F_InspectionItem", ColumnDescription = "检验项目GUID")]
    public string InspectionItem { get; set; }

    /// <summary>
    /// 序号.
    /// </summary>
    [SugarColumn(ColumnName = "F_Number", ColumnDescription = "序号")]
    public int? Number { get; set; }

    /// <summary>
    /// 缺陷Guid.
    /// </summary>
    [SugarColumn(ColumnName = "F_Defect", ColumnDescription = "缺陷Guid")]
    public string Defect { get; set; }

    /// <summary>
    /// 缺陷名称.
    /// </summary>
    [SugarColumn(ColumnName = "F_DefectName", ColumnDescription = "缺陷名称")]
    public string DefectName { get; set; }

    /// <summary>
    /// 缺陷数量.
    /// </summary>
    [SugarColumn(ColumnName = "F_DefectQty", ColumnDescription = "缺陷数量")]
    public int? DefectQty { get; set; }

    /// <summary>
    /// 默认严重度（字典项：高中低）.
    /// </summary>
    [SugarColumn(ColumnName = "F_Severity", ColumnDescription = "默认严重度（字典项：高中低）")]
    public string Severity { get; set; }

    /// <summary>
    /// 附件文件名称.
    /// </summary>
    [SugarColumn(ColumnName = "F_FileInfo", ColumnDescription = "附件文件名称")]
    public string FileInfo { get; set; }

    /// <summary>
    /// 不良描述.
    /// </summary>
    [SugarColumn(ColumnName = "F_Remark", ColumnDescription = "不良描述")]
    public string Remark { get; set; }
    
}